Skip to content

Comments

Oca merge#2

Merged
hugosantosred merged 17 commits intomasterfrom
oca-merge
Feb 20, 2026
Merged

Oca merge#2
hugosantosred merged 17 commits intomasterfrom
oca-merge

Conversation

@hugosantosred
Copy link
Member

No description provided.

hparfr and others added 17 commits April 9, 2024 15:27
With some repos, there is an issue when the origin url is changed
to a fork in repo.yml.

Errors look like `unable to read sha1 file of`, `index-pack failed`

It's occuring when the remote is removed (git remote rm origin) then
added back with another url (git remote add origin <new url>).

With this fix, we change the url inplace. `git remote set-url origin <new url>`
fix: git remote: change url instead of rm / add
git clone do not care if the dir exist or is empty

And an existing target_dir/.git is expected in the
rest of this function
[fix] target_dir may be an empty directory
Add usage examples for Gitlab and Bitbucket repositories.
Very handy to be able to feed it with custom PRs info.
Example: provide a parsed version of shell_after_commands containing PR patches.
[imp] repo.collect_prs_info allow to pass custom merges
@hugosantosred hugosantosred merged commit 342947a into master Feb 20, 2026
0 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants